package com.example.grape_effect.gl.common

import android.opengl.GLES20

 open class Texture {

    var width = 0
    var height = 0
    var textureId = ShaderConstant.INVALID_TEXTURE
    open  var textureIndex = 0
    protected var drawRect:FloatArray = floatArrayOf()
    open var target:Int = GLES20.GL_TEXTURE_2D

     open fun freeSource() {

     }

     open fun prepareToDraw(){

     }

}